﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bank
{
    class Customer
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public int AccountNumber { get; set; }
        public double CurrentMoney { get; set; }

        public Customer(string firstName, string lastName, int accountNumber, double currentMoney)
        {
            FirstName = firstName;
            LastName = lastName;
            AccountNumber = accountNumber;
            CurrentMoney = currentMoney;
        }

        public void PrintCustomerInfoToConsole()
        {
            Console.WriteLine("Customer info:\nName - {0} {1}, account number - {2}, Current amount of money - {3}$", FirstName, LastName, AccountNumber, CurrentMoney);
        }

    }
}
